/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/8 10:38
 * @description:
 */
public class Rectangle {
private int widch;
private int height;

  public int getWidch() {
    return widch;
  }

  public void setWidch(int widch) {
    this.widch = widch;
  }

  public int getHeight() {
    return height;
  }

  public void setHeight(int height) {
    this.height = height;
  }
//构造方法
  Rectangle(){}
  Rectangle(int widch,int height){
    this.height=height;
    this.widch=widch;
  }
  void circumference() {
    int c=(widch+height)*2;

    System.out.println("周长");
  }
  int area(){
    int  a=widch*height;
    return a;
  }
}
